projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c08896
)
Make sure title_bar_with is initialized
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 18 Jan 2014 22:56:44 +0000
(17:56 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 18 Jan 2014 22:58:44 +0000
(17:58 -0500)
With a hidden custom title, we failed to initialize
the title_bar_width variables.
gtk/gtkheaderbar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkheaderbar.c
b/gtk/gtkheaderbar.c
index 1a83126c3f7248ede099b726048cc19d164bc67d..96261847652950c4ccc657f676ee301f2bb366a6 100644
(file)
--- a/
gtk/gtkheaderbar.c
+++ b/
gtk/gtkheaderbar.c
@@
-991,6
+991,9
@@
gtk_header_bar_size_allocate (GtkWidget *widget,
i++;
}
+ title_minimum_size = 0;
+ title_natural_size = 0;
+
if (priv->custom_title &&
gtk_widget_get_visible (priv->custom_title))
{